﻿using SpaceNeedle.City6473.Web.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace SpaceNeedle.City6473.WebSite.Controllers
{
    public class GlobalController : Controller
    {
        protected override IAsyncResult BeginExecute(System.Web.Routing.RequestContext requestContext, AsyncCallback callback, object state)
        {
            this.StaticContent = new WebSiteContent();
            ViewBag.StaticContent = this.StaticContent;

            return base.BeginExecute(requestContext, callback, state);
        }

        public WebSiteContent StaticContent { get; set; }
    }
}